package org.infosec.lc.exercises.apacheDigester.modle;

import java.util.Vector;

/**
 * 文件名：Academy.java 作 者：林超 时 间：2011-7-15上午09:53:08
 * 
 * 功能描述：学院
 * 
 * pom.xml :
 */
@SuppressWarnings("unchecked")
public class Academy {

	private Vector students;
	private Vector teachers;
	private String name;

	public Academy() {
		students = new Vector();
		teachers = new Vector();
	}

	public void addStudent(Student student) {
		students.addElement(student);
	}

	public void addTeacher(Teacher teacher) {
		teachers.addElement(teacher);
	}

	public Vector getStudents() {
		return students;
	}

	public void setStudents(Vector students) {
		this.students = students;
	}

	public Vector getTeachers() {
		return teachers;
	}

	public void setTeachers(Vector teachers) {
		this.teachers = teachers;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
